package com.campusnews.service;

import com.campusnews.pojo.Invitation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.campusnews.pojo.dayData;
import com.campusnews.pojo.Thing;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lqc
 * @since 2021-09-26
 */
public interface InvitationService extends IService<Invitation> {

    boolean deleteInvite(Invitation invitation);

//    boolean insertInvite(Invitation invitation);
//
    boolean updateInvite(Invitation invitation);

    Invitation getInviteInformation(Invitation invitation);

    PageInfo<Invitation> selectInviteByAccurate(Invitation invitation);
    PageInfo<Invitation> selectInviteByTopic(Thing things);
    PageInfo<Invitation> selectInviteByVague(Thing things);

}
